The Local Hero ^^^^^ **Definition:** * A test case that is dependent on something specific to the development environment it was written on, in order to run. The result is that the test passes on development boxes, but fails when someone attempts to run it elsewhere. **Also Known As:** * Wait and See, The Environmental Vandal **References:** .. admonition:: Quality attributes * :octicon:`file-code;1em` - Code Example * :octicon:`comment-discussion;1em` - Cause and Effect * :octicon:`graph;1em` - Frequency * :octicon:`sync;1em` - Refactoring * `Anti-Patterns - Digital Tapestry `_ * `Categorising Test Smells `_ :octicon:`graph;1em` * `Smells in software test code: A survey of knowledge in industry and academia `_ * `Tdd antipatterns: Local hero `_ * `Test-Driven Development: TDD Anti-Patterns `_ * `Unit Testing Anti-Patterns, Full List `_ * `Unit testing Anti-patterns catalogue `_